package com.xywl.escort.view.message;

import com.xywl.escort.di.ActivityScoped;
import com.xywl.escort.di.FragmentScoped;
import com.xywl.escort.view.notice.NoticeListActivity;

import dagger.Binds;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;

@Module
public abstract class MessageModule {

    @FragmentScoped
    @ContributesAndroidInjector
    abstract MessageActivity messageActivity();

    @ActivityScoped
    @Binds
    abstract MessageContract.Presenter messagePresenter(MessagePresenter presenter);
}
